package com.soul.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author mdoya
 * @version 1.0
 * @description: 前端控制器启动类
 */
@Slf4j
@EnableCaching // 驱动springboot自带缓存，可以基于redis使用(redis导入依赖即可)
@SpringBootApplication
public class SoulApplicationServer {
    public static void main(String[] args) {
        SpringApplication.run(SoulApplicationServer.class,args);
        log.info("SouAppServer程序启动成功!");
    }
}
